package com.aop.Aspect;

//import org.aspectj.lang.JoinPoint;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Before;
//import org.aspectj.lang.annotation.Pointcut;
//import org.springframework.stereotype.Component;
//
///**
// * @Author: tgy
// * @Date: 2020-08-11 18:42
// */
//@Component
//@Aspect
//public class MyAspect {
//
//    @Pointcut(value = "execution(* com.aop.bean.Student.eat(..))")
//    public void pointCut(){
//
//
//    }
//
////    包中包含service的包
////    @Pointcut("execution(* *..service..*.*(..))")
//    @Pointcut("within(*..service..*.*)")
//    public void servicePointCut(){
//
//    }
//
//    @Before("servicePoivntCut()")
//    public void before(JoinPoint joinPoint){
//
//
//        System.out.println(joinPoint.getSignature().getName() + " before");
//
//    }
//}
public class MyAspect{

}
